-
Notifications
You must be signed in to change notification settings - Fork 268
migrated workflow to react-transform #47
base: master
Are you sure you want to change the base?
Conversation
Just to know, could we use the webpack-dev-server with react-transform? |
but it's so much more code! haha, what are the benefits? |
Yeah it is. There is a lot of boilerplate needed for transform. @mikaa123 you have to use the express middleware IIRC. I looked at doing this with only the dev server about a month ago but no joy. @tj maybe a good case for one of those "high level packages"? React + Webpack + HMR type all in one thing? I agree it's a lot of boilerplate. |
yea wtf haha seems like a regression in that sense if the old thing is deprecated |
Yeah IDK why they didn't just roll into something easier to work with. A simple tool that abstracts a lot of that away would be nice. |
For anyone interested, here's my work in progress boilerplate for the server portion that supports webpack + react + hmr, with koa. (I also have material-ui, but very little done on the front end) https://github.com/tracker1/r3k-example/blob/master/server/server.dev.js YMMV, I'm working on this as time permits, and it may be broken at any given point, currently works ( |
Bump? |
still have to check it out, I don't have any issues with the old stuff, but it does mention https://github.com/gaearon/react-transform-boilerplate#can-i-use-webpackdevserver-with-this |
Oh shit I totally didn't see that before haha. I'll see if I can hack that out of this PR this weekend |
Any update on this @thebigredgeek? Would love to use it 👍 Edit: I've got react-transform working without an additional |
No description provided.